package cn.com.ctbri.geomonitor.dao;

import cn.com.ctbri.geomonitor.model.ProXuanZhi;
import cn.com.ctbri.geomonitor.model.ProXuanZhiExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ProXuanZhiMapper {
    int countByExample(ProXuanZhiExample example);

    int deleteByExample(ProXuanZhiExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ProXuanZhi record);

    int insertSelective(ProXuanZhi record);

    List<ProXuanZhi> selectByExample(ProXuanZhiExample example);

    ProXuanZhi selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ProXuanZhi record, @Param("example") ProXuanZhiExample example);

    int updateByExample(@Param("record") ProXuanZhi record, @Param("example") ProXuanZhiExample example);

    int updateByPrimaryKeySelective(ProXuanZhi record);

    int updateByPrimaryKey(ProXuanZhi record);
    
    int updateTypeByProInId(@Param("type") int type,@Param("proInId") String proInId);
}